html, body { height:98% }

h1, h2, h3, h4, h5 { margin:3px !important; }
/* input, select, label { border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; } */

body.waiting * { cursor: progress; }

.custom-scroll::-webkit-scrollbar {
    width: 20px;
    height: 21px;
}

.fixed {
  position: fixed;
  top:0; 
  left:0;
  width: 100%;
  z-index: 900;
}

::-webkit-scrollbar
{
  width: 10px;  /* for vertical scrollbars */
  height: 10px; /* for horizontal scrollbars */
}

::-webkit-scrollbar-track
{ background: rgba(0, 0, 0, 0.1); }

::-webkit-scrollbar-thumb
{ background: rgba(0, 0, 0, 0.5); } 


/************* LOADER **************/
#loaderball {
    position:relative;
    top: -5%;
    left: 50%;
    width:4em;
    height:4em;
    margin-top: 1em;  /*set to a negative number 1/2 of your height*/
    margin-left: -2em; /*set to a negative number 1/2 of your width*/
	
	z-index: 99999;
	border: 7px solid gray;
	border-radius: 50%;
	border-top: 7px solid orange;	
	-webkit-animation: spin 1s linear infinite;
	animation: spin 1s linear infinite;	
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/************* EFFETTI ***********************/
a			{ text-decoration: none;}
a:hover 	{ text-decoration: none;}
.transition { -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1); }

.shadow { box-shadow:5px 3px 5px grey; }

/************* STILI GENERICI ***********************/
.dw_round_corner 	{ border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }

/************* STILI PER I CONTENITORI (DIV) ***********************/

.dw_disabled  {
    pointer-events: none;
    opacity: 0.8;
}

.dw_overlay {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}

/***** Contenitore globale *****/
.dw_page-wrap 	{ padding: 0px 5px 0px 5px; overflow:auto }

/***** TopBar *****/
.dw_divtop {
	display:block;
	padding:3px 5px 3px 5px;
	min-width:300px;
	overflow:hidden;
 }

/***** Header Bar *****/
.dw_divheader {
	margin:40px 0px 2px 0px;
}

/***** Debug frame *****/
.dw_dbg {
    width: 300px;
    word-wrap: break-word;
}

/***** Help container *****/
.dw_divhelp {
	display:none; 
	margin:5px 0px 2px 0px;
	height:150px; 
}

/***** Contenitore principale *****/
.dw_divcontainer { margin-top:5px }

/***** Menu bar *****/
.dw_divmenu {
	padding:1px 2px 2px 1px;
}

/***** Diagram *****/
.diag_contextmenu { z-index: 300; position: absolute; left: 5px; border: 1px solid #444; background-color: #F5F5F5; display: none; box-shadow: 0 0 10px rgba( 0, 0, 0, .4 ); font-size: 12px; font-family: sans-serif; font-weight:bold; }
.diag_contextmenu ul { list-style: none; top: 0; left: 0; margin: 0; padding: 0; }
.diag_contextmenu li { position: relative; min-width: 60px; }
.diag_contextmenu a { color: #444; display: inline-block; padding: 6px; text-decoration: none; }
.diag_contextmenu li:hover { background: #444; }
.diag_contextmenu li:hover a { color: #EEE; }

/***** Menu bar *****/
.dw_divtree {
	padding:1px 2px 2px 1px;
}

/***** Footer Bar *****/
.dw_divfooter {}

/***** Contenitore form di ricerca *****/ 
.dw_divsearch {}

/***** Contenitore form di editing *****/ 
.dw_divedit {}

/***** Contenitore delle tabelle *****/ 
.dw_divtable { 
	width: 100%;
	height:100%; 
	padding:0px;
    border-collapse: separate;
    border-spacing: 2px;
	margin: 0 auto;
}
.dw_divtable_title { font-size:22px; font-weight:normal }
.dw_divtable_full { width:100% }
.dw_divtable_enlarged { border-spacing: 20px !important; }
.dw_divtable_medium { border-spacing: 10px !important; }
.dw_tableheader { vertical-align:top; height:25px; padding-left:2px; padding-right:2px }
.dw_trnoborder { vertical-align:top; padding:0px; margin:0px; }
.dw_tablecell { }

/***** Tabs  *****/ 
.dw_divtab { padding:0px 2px 0px 2px !important; }

/***** Toolbar delle window  *****/ 
.dw_divtoolbar { height:auto; }

/***** Attributi generali di tutte le form  *****/ 
.dw_divform { padding-top:0px; overflow:auto}

/***** Oggetto Html  *****/ 
.dw_divhtml { overflow:auto; height:auto }

/***** Oggetto Ticker  *****/ 
.dw_divticker { height:100%; }
.dw_divheadticker { text-align:center }
.dw_divheadcontent { font-size:12px; padding-left:15px; padding-right:15px; margin-top:1px; margin-bottom:1px }
.dw_divfootticker { text-align:center }

/***** Pannello mobile sinistro  *****/ 
.dw_panelleft			{ position:absolute; border:1px solid #AAA; left:-5px; width:20px; top:0px; height:100%; padding:0px; margin:0px; background-color:#eee; z-index:99999; }
.dw_panelleft_container 	{ position:relative; width:98%; float:left; top:0; height:100%; }
.dw_panelleft_control 	 { position:absolute; right:0px; width:18px; float:right; height:10%; top:40%; background-color:#aaa; }

/************* STILI PER I GLI OGGETTI  ****************************/
.dw_label { text-align:left; min-width:50px; padding:4px 4px; }
.dw_input { padding:0px 0px 0px 2px !important; margin:0px 0px 0px 0px !important; }
.dw_num { padding:0px 0px 0px 0px !important; margin:0px 0px 0px 0px !important; }
.dw_view { }
.dw_image { vertical-align:top }
.dw_datecal { padding:0px 0px 0px 1px !important; margin:0px 0px 0px 0px !important; height:24px !important}
.dw_radio {}
.dw_checkbox { padding:0px 0px 0px 0px !important; margin:0px 0px 0px 2px !important; }
.dw_tel {}
.dw_filter { margin:0px 0px 0px 0px !important; }
.dw_dropdown { padding:0px 0px 0px 0px !important; margin:0px 0px 0px 0px !important; }
.dw_dynamic-list {}
.dw_button { padding-top:2px !important}
.dw_imgbutton {}
.dw_winbutton { margin:auto; line-height: 10px; text-align: center; }
.dw_separator {	margin: 4px 0px 5px 0px; border: 1px solid #a0a0a0; }

.dw_srcinput { padding:0px 0px 0px 0px !important; margin:0px 0px 0px 0px !important; height:26px;}

/**** icons ****/
.dw_imgbutton { padding:2px }
.dw_icon { background-position:center !important; width: 15px; height: 19px; display:inline-block; vertical-align:middle; } 
.dw_iconbig { background-position:center !important; width: 40px; height: 40px; display:inline-block; vertical-align:middle; } 
/*.dw_icon:hover { background-color:#3088A7 } 
.dw_icon:focus { background-color:darkblue }*/
.dw_firstarrow { background: #eee url("fontawesome/svgs/solid/angle-double-left.svg") no-repeat 0px 0px; }
.dw_leftarrow { background: #eee url("fontawesome/svgs/solid/angle-left.svg") no-repeat 0px 0px; }
.dw_rightarrow { background: #eee url("fontawesome/svgs/solid/angle-right.svg") no-repeat 0px 0px; }
.dw_lastarrow { background: #eee url("fontawesome/svgs/solid/angle-double-right.svg") no-repeat 0px 0px; }
.dw_menu { background: #eee url("fontawesome/svgs/solid/ellipsis-v.svg") no-repeat 0px 0px; }

.dw_archive { background: #eee url("fontawesome/svgs/regular/file-archive.svg") no-repeat 0px 0px; }
.dw_word { background: #eee url("fontawesome/svgs/regular/file-word.svg") no-repeat 0px 0px; }
.dw_excel { background: #eee url("fontawesome/svgs/regular/file-excel.svg") no-repeat 0px 0px; }
.dw_csv { background: #eee url("fontawesome/svgs/regular/file-alt.svg") no-repeat 0px 0px; }
.dw_pdf { background: #eee url("fontawesome/svgs/regular/file-pdf.svg") no-repeat 0px 0px; }
.dw_import { background: #eee url("fontawesome/svgs/solid/file-import.svg") no-repeat 0px 0px; }
.dw_export { background: #eee url("fontawesome/svgs/solid/file-export.svg") no-repeat 0px 0px; }
.dw_download { background: #eee url("fontawesome/svgs/solid/file-download.svg") no-repeat 0px 0px; }
.dw_upload { background: #eee url("fontawesome/svgs/solid/file-upload.svg") no-repeat 0px 0px; }
.dw_audio { background: #eee url("fontawesome/svgs/solid/file-audio.svg") no-repeat 0px 0px; }

.dw_print { background: #eee url("fontawesome/svgs/solid/print.svg") no-repeat 0px 0px; }
.dw_reload { background: #eee url("fontawesome/svgs/solid/sync-alt.svg") no-repeat 0px 0px; }
.dw_add { background: #eee url("fontawesome/svgs/solid/plus-square.svg") no-repeat 0px 0px; }
.dw_cog { background: #eee url("fontawesome/svgs/solid/cog.svg") no-repeat 0px 0px; }


.toggle {
  position:relative;
  display:inline-block;
  width:40px;
  height:60px;
  background-color:#bbb;
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  border-radius:4px;
  text-align:center;
}

.toggle input {
  width:100%;
  height:100%;
  margin:0 0;
  padding:0 0;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:2;
  cursor:pointer;
  opacity:0;
  filter:alpha(opacity=0);
}

.toggle label {
  display:block;
  position:absolute;
  top:1px;
  right:1px;
  bottom:1px;
  left:1px;
  background-image:-webkit-linear-gradient(top,#fff 0%,#ddd 50%,#fff 50%,#eee 100%);
  background-image:-moz-linear-gradient(top,#fff 0%,#ddd 50%,#fff 50%,#eee 100%);
  background-image:-ms-linear-gradient(top,#fff 0%,#ddd 50%,#fff 50%,#eee 100%);
  background-image:-o-linear-gradient(top,#fff 0%,#ddd 50%,#fff 50%,#eee 100%);
  background-image:linear-gradient(top,#fff 0%,#ddd 50%,#fff 50%,#eee 100%);
  -webkit-box-shadow:0 2px 3px rgba(0,0,0,0.4),
    inset 0 -1px 1px #888,
    inset 0 -5px 1px #bbb,
    inset 0 -6px 0 white;
  -moz-box-shadow:0 2px 3px rgba(0,0,0,0.4),
    inset 0 -1px 1px #888,
    inset 0 -5px 1px #bbb,
    inset 0 -6px 0 white;
  box-shadow:0 2px 3px rgba(0,0,0,0.4),
    inset 0 -1px 1px #888,
    inset 0 -5px 1px #bbb,
    inset 0 -6px 0 white;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
  border-radius:3px;
  font:normal 11px Arial,Sans-Serif;
  color:#666;
  text-shadow:0 1px 0 white;
  cursor:text;
}

.toggle label:before {
  content:attr(data-off);
  position:absolute;
  top:6px;
  right:0;
  left:0;
  z-index:4;
}

.toggle label:after {
  content:attr(data-on);
  position:absolute;
  right:0;
  bottom:11px;
  left:0;
  color:#666;
  text-shadow:0 -1px 0 #eee;
}

.toggle input:checked + label {
  background-image:-webkit-linear-gradient(top,#eee 0%,#ccc 50%,#fff 50%,#eee 100%);
  background-image:-moz-linear-gradient(top,#eee 0%,#ccc 50%,#fff 50%,#eee 100%);
  background-image:-ms-linear-gradient(top,#eee 0%,#ccc 50%,#fff 50%,#eee 100%);
  background-image:-o-linear-gradient(top,#eee 0%,#ccc 50%,#fff 50%,#eee 100%);
  background-image:linear-gradient(top,#eee 0%,#ccc 50%,#fff 50%,#eee 100%);
  -webkit-box-shadow:0 0 1px rgba(0,0,0,0.4),
    inset 0 1px 7px -1px #ccc,
    inset 0 5px 1px #fafafa,
    inset 0 6px 0 white;
  -moz-box-shadow:0 0 1px rgba(0,0,0,0.4),
    inset 0 1px 7px -1px #ccc,
    inset 0 5px 1px #fafafa,
    inset 0 6px 0 white;
  box-shadow:0 0 1px rgba(0,0,0,0.4),
    inset 0 1px 7px -1px #ccc,
    inset 0 5px 1px #fafafa,
    inset 0 6px 0 white;
}

.toggle input:checked:hover + label {
  -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.4),
    inset 0 1px 7px -1px #ccc,
    inset 0 5px 1px #fafafa,
    inset 0 6px 0 white;
  -moz-box-shadow:0 1px 3px rgba(0,0,0,0.4),
    inset 0 1px 7px -1px #ccc,
    inset 0 5px 1px #fafafa,
    inset 0 6px 0 white;
  box-shadow:0 1px 3px rgba(0,0,0,0.4),
    inset 0 1px 7px -1px #ccc,
    inset 0 5px 1px #fafafa,
    inset 0 6px 0 white;
}

.toggle input:checked + label:before {
  z-index:1;
  top:11px;
}

.toggle input:checked + label:after {
  bottom:9px;
  color:#aaa;
  text-shadow:none;
  z-index:4;
}

.input_flt {}

/************** STILE PER IL CALENDAR *****************/
.dw_caldiv 			{ overflow:auto; height:auto; }
.dw_caltable  		{ margin:0px; padding:0px; table-layout:fixed; }
.dw_caltoolbar 		{ }
.dw_caltoolbar  tbody	{ display:block; overflow-y: auto; overflow-x: hidden; }
.dw_tdcalheader		{ white-space:nowrap !important; text-align:left !important; border:2px solid lightgray !important; overflow:hidden; }
.dw_trcalnormal 		{ margin:0px; padding:0px !important; max-height:12px; overflow:hidden; }
.dw_tdcalnormal 		{ margin:0px; padding:0px !important; height:12px; position:relative; }
.dw_calslot			{ margin:0px; padding:0px !important; height:15px; top:0px; overflow:hidden; }

/************* MODIFICHE AGLI STILI DELLE LIBRERIE *****************/

/**** Bootstrap ****/
.form-group-sm .form-control { height:24px !important; margin:0px !important;}
.form-horizontal .form-group { margin-left:0px !important; }
/*.input-group { margin-bottom:3px }*/
.input-group { }
.radio {}
.container-fluid{ padding:0px }
.row { margin-right:0px; margin-left:0px; }

/* navbar */
.navbar-primary .navbar { border-bottom:none; }
.navbar-primary .navbar .nav.pull-right {margin-left: 10px; margin-right: 0;}
.navbar-xs .navbar-primary .navbar { min-height:28px; height: 28px; font-size:14px }
.navbar-xs .navbar-primary .navbar .navbar-brand{ padding: 0px 12px;font-size: 16px;line-height: 28px; height:28px }
.navbar-xs .navbar-primary .navbar .navbar-nav > li > a {  padding-top: 0px; padding-bottom: 0px; line-height: 28px; }
.navbar-primary .navbar .nav li > a .caret, .tnav .navbar .nav li > a:hover .caret { margin-left:4px }
.navbar-sm .navbar-primary .navbar { min-height:40px; height: 40px; }
.navbar-sm .navbar-primary .navbar .navbar-brand{ padding: 0px 12px;font-size: 16px;line-height: 40px; }
.navbar-sm .navbar-primary .navbar .navbar-nav > li > a {  padding-top: 0px; padding-bottom: 0px; line-height: 40px; }
.navbar-toggle { margin:2px; height:24px; padding-top:4px }

/**** Calendar ****/
.fc-toolbar { margin:0px !important; padding:3px !important }
.fc-toolbar  h2 { font-size:14px !important }
.fc-time-grid .fc-slats td {height:4em !important}
//.fc-event .fc-bg { opacity: 0.5 }

/**** VIS ****/
.network-manipulationDiv { background-image:none !important; }
.network-manipulation-editMode {	top:0px !important; width:100%; }
.network-manipulationUI { top:3px !important; vertical-align:top !important; margin:0px 0px 0px 20px !important; }
.network-popup {
	display:none; 
	position:absolute; top:30px; left:0px; z-index:299; width:250px; height:120px; 
    background-color: #f9f9f9;
    border-style:solid;
    border-width:3px;
    border-color: #5394ed;
    padding:10px;
    text-align: center;
}

/**** JQXDROPDOWN ****/
.jqx-dropdownlist-content { font-size : 11px;}
.jqx-listitem-state-selected { font-size : 11px; }
.jqx-listitem-state-normal {font-size : 11px; }
.jqx-widget-content {font-size : 11px !important; }
.jqx-gauge-label {font-size : 8px !important; }
.jqx-chart-axis-text {font-size : 8px !important; }
.jqx-chart-legend-text {font-size : 8px !important; }
.jqx-chart-label-text {font-size : 8px !important; }
.jqx-passwordinput-password-icon, .jqx-passwordinput-password-icon-rtl { z-index:9 }

/************* VECCHI STILI DA ELIMINARE *****************/
.trnoborder 				{ vertical-align:top; padding:0px; margin:0px; }